package com.leyou.item.api;

import com.leyou.item.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserApi {
    //查询用户是否存在
    @PostMapping("/query")
    User queryUser(@RequestParam("username") String username,
                   @RequestParam("password") String password);

}
